

#ifndef __SPLIT_H__
#define __SPLIT_H__

#include <string>

#include "sum.h"

using namespace std;

class Split
{
public:
	Split(DataSum *DS, const int keyindex, const string delim);

	int SplitLine(const string &line);
private:
	Split(const Split &sp);
	Split& operator=(const Split &sp);

private:
	DataSum		*m_pDS;
	const string 	m_strDelim;
	const int	m_nKeyIndex;
};

#endif

